package net.apexes.demo.codegen.ormlite.annotation.entity;

import com.j256.ormlite.field.*;
import com.j256.ormlite.table.*;
import net.apexes.demo.codegen.entity.base.OrmliteEntityBase;

/**
 * ShopStaff. Corresponds to the database table "SHOP_STAFF"
 */
@DatabaseTable(tableName = "SHOP_STAFF")
public class ShopStaff extends OrmliteEntityBase {

    private static final long serialVersionUID = 1L;

    /**
     * The columns of table "SHOP_STAFF"
     */
    public interface $ extends OrmliteEntityBase.$ {

        /**
         * ACCOUT
         */
        public static final String accout = "ACCOUT";

        /**
         * PASSWORD
         */
        public static final String password = "PASSWORD";

        /**
         * SHOP_ID
         */
        public static final String shopId = "SHOP_ID";

    }

    @DatabaseField(columnName = $.accout, canBeNull = false)
    private String accout;

    @DatabaseField(columnName = $.password, canBeNull = false)
    private String password;

    @DatabaseField(columnName = $.shopId, canBeNull = false)
    private String shopId;

    public String getAccout() {
        return accout;
    }

    public void setAccout(String accout) {
        this.accout = accout;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(super.toString());
        sb.append(",accout=").append(accout);
        sb.append(",password=").append(password);
        sb.append(",shopId=").append(shopId);
        return sb.toString();
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

}

